package com.example.administrator.questionanswer.greendao;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by Administrator on 2018/4/2 0002.
 */

@Entity
public class AnswerBean {

    @Override
    public String toString() {
        return "AnswerBean{" +
                "id=" + id +
                ", questionId=" + questionId +
                ", userName='" + userName + '\'' +
                ", major='" + major + '\'' +
                ", questionName='" + questionName + '\'' +
                ", questionContent='" + questionContent + '\'' +
                ", questionAContent='" + questionAContent + '\'' +
                ", questionBContent='" + questionBContent + '\'' +
                ", questionCContent='" + questionCContent + '\'' +
                ", questionDContent='" + questionDContent + '\'' +
                ", questionEContent='" + questionEContent + '\'' +
                ", questionFContent='" + questionFContent + '\'' +
                '}';
    }

    @Id
    Long id;

    @Property(nameInDb = "questionId")
    Long questionId;

    @Property(nameInDb = "userName")
    String userName;

    @Property(nameInDb = "major")
    String major;

    @Property(nameInDb = "questionName")
    String questionName;
    @Property(nameInDb = "questionContent")
    String questionContent;


    @Property(nameInDb = "questionAContent")
    String questionAContent;

    @Property(nameInDb = "questionBContent")
    String questionBContent;

    @Property(nameInDb = "questionCContent")
    String questionCContent;

    @Property(nameInDb = "questionDContent")
    String questionDContent;

    @Property(nameInDb = "questionEContent")
    String questionEContent;

    @Property(nameInDb = "questionFContent")
    String questionFContent;

    @Generated(hash = 1732243958)
    public AnswerBean(Long id, Long questionId, String userName, String major,
            String questionName, String questionContent, String questionAContent,
            String questionBContent, String questionCContent,
            String questionDContent, String questionEContent,
            String questionFContent) {
        this.id = id;
        this.questionId = questionId;
        this.userName = userName;
        this.major = major;
        this.questionName = questionName;
        this.questionContent = questionContent;
        this.questionAContent = questionAContent;
        this.questionBContent = questionBContent;
        this.questionCContent = questionCContent;
        this.questionDContent = questionDContent;
        this.questionEContent = questionEContent;
        this.questionFContent = questionFContent;
    }

    @Generated(hash = 1597358991)
    public AnswerBean() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getQuestionId() {
        return this.questionId;
    }

    public void setQuestionId(Long questionId) {
        this.questionId = questionId;
    }

    public String getUserName() {
        return this.userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMajor() {
        return this.major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getQuestionName() {
        return this.questionName;
    }

    public void setQuestionName(String questionName) {
        this.questionName = questionName;
    }

    public String getQuestionContent() {
        return this.questionContent;
    }

    public void setQuestionContent(String questionContent) {
        this.questionContent = questionContent;
    }

    public String getQuestionAContent() {
        return this.questionAContent;
    }

    public void setQuestionAContent(String questionAContent) {
        this.questionAContent = questionAContent;
    }

    public String getQuestionBContent() {
        return this.questionBContent;
    }

    public void setQuestionBContent(String questionBContent) {
        this.questionBContent = questionBContent;
    }

    public String getQuestionCContent() {
        return this.questionCContent;
    }

    public void setQuestionCContent(String questionCContent) {
        this.questionCContent = questionCContent;
    }

    public String getQuestionDContent() {
        return this.questionDContent;
    }

    public void setQuestionDContent(String questionDContent) {
        this.questionDContent = questionDContent;
    }

    public String getQuestionEContent() {
        return this.questionEContent;
    }

    public void setQuestionEContent(String questionEContent) {
        this.questionEContent = questionEContent;
    }

    public String getQuestionFContent() {
        return this.questionFContent;
    }

    public void setQuestionFContent(String questionFContent) {
        this.questionFContent = questionFContent;
    }

  

}
